package br.edu.fanor.esfinge.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.edu.fanor.esfinge.entity.Idiomas;
import br.edu.fanor.esfinge.services.IdiomaServiceRemote;

@Stateless
public class IdiomaServiceImpl implements IdiomaServiceRemote{
	
	@PersistenceContext
	private EntityManager em; 

	@Override
	public Idiomas inserir(Idiomas idioma) {
		em.persist(idioma);
		return idioma;
	}
	
	

}
